﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Microsoft.Practices.Unity;
using PharmacyService;

namespace PharmacyWeb.Ventas
{
    public partial class frmListadoVentas : System.Web.UI.Page
    {
        [Dependency]
        public IVentaService    ventaService { get; set; }
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void odsVentas_ObjectCreating(object sender, ObjectDataSourceEventArgs e)
        {
            e.ObjectInstance = ventaService;
        }

        protected void odssVentas_ObjectCreating(object sender, ObjectDataSourceEventArgs e)
        {
            e.ObjectInstance = ventaService;
        }
    }
}